home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 23
/
Amiga Format AFCD23 (Feb 1998, Issue 107).iso
/
+look_here_1st!+
/
handy_tools
/
toolalias
/
source
/
list.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-27
|
472b
|
21 lines
/* list datatype for ToolAlias */
struct toollist {
struct toollist *prev, *next;
char *oldname;
char *newname;
};
typedef struct toollist TOOL;
/* prototypes for functions defined in list.c */
void free_tool(TOOL *tool);
TOOL *get_head(void);
TOOL *get_tail(void);
TOOL *add_tool(TOOL *curtool);
TOOL *rem_tool(TOOL *tool);
BOOL set_oldname(TOOL *tool, char *oldname);
BOOL set_newname(TOOL *tool, char *newname);
char *find_tool(char *name);
void free_list(void);